<?php
/* @var $this CustomerResidentController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Customer SM Tenants',
);

if ((Yii::app()->user->type==="Personnel")) {

$this->menu=array(
	array('label'=>'Manage', 'url'=>array('admin')),
);
}else {
$this->menu=array(
	array('label'=>'Manage', 'url'=>array('admin')),
	array('label'=>'Create', 'url'=>array('create')),
);
}
?>



<?php
if(isset($_GET['error'])){
                echo '<span style="color:red;text-align:center;font-weight:bold">' .$_GET['error']. ' </span><br>'; 
                }else{
        echo '';
                }
       ?>
<h1>Customer SM Tenants</h1>

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
